package main.java.exception;
/*
    自定义异常(一般项目中会推荐自己写的异常直接或间接继承RuntimeException)
    自定异常会在类中添加一些和父类构造方法参数类似的一些构造方法。
 */
public class UserFotFoundException extends RuntimeException{
    public UserFotFoundException() {
    }

    public UserFotFoundException(String message) {
        super(message);
    }

    public UserFotFoundException(String message, Throwable cause) {
        super(message, cause);
    }

    public UserFotFoundException(Throwable cause) {
        super(cause);
    }

    public UserFotFoundException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
